package org.jeecg.modules.demo.ch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 维保/租用计划明细表
 * @Author: jeecg-boot
 * @Date:   2022-10-27
 * @Version: V1.0
 */
@ApiModel(value="ch_maintenance_plan_detail对象", description="维保/租用计划明细表")
@Data
@TableName("ch_maintenance_plan_detail")
public class ChMaintenancePlanDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**维保开始日期*/
	@Excel(name = "维保开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "维保开始日期")
    private Date maintenanceStartDate;
	/**维保结束日期*/
	@Excel(name = "维保结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "维保结束日期")
    private Date maintenanceEndDate;
	/**维保/租用金额(元)*/
	@Excel(name = "维保/租用金额(元)", width = 15)
    @ApiModelProperty(value = "维保/租用金额(元)")
    private java.math.BigDecimal amount;
	/**软件授权截止日期*/
	@Excel(name = "软件授权截止日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "软件授权截止日期")
    private Date authorizationDeadline;
    /**数量*/
    @ApiModelProperty(value = "数量")
    private Integer num;
    /**备注*/
    @ApiModelProperty(value = "备注")
    private String remark;
	/**软件运维计划id*/
    @ApiModelProperty(value = "软件运维计划id")
    private String chMaintenancePlanId;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
